using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MainOperation : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        Operation oper;
        oper = OperationFactory.CreateOperation(OperateType.Add);

        oper.NumberA = 50;
        oper.NumberB = 30;
        var result = oper.GetResult();
        Debug.Log("计算结果  " + result);
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
